# 多行注释
#[[this is a CMakeLists.txt
this is a CMakeLists.txt
this is a CMakeLists.txt]]
# 单行注释
# cmake 最低版本
cmake_minimum_required(VERSION 3.0.0)
# 项目名
project(Calculate)
# set(SRC add.cpp div.cpp main.cpp mult.cpp sub.cpp)
# aux_source_directory(${PROJECT_SOURCE_DIR} SRC)
file(GLOB SRC ${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp)
set(EXECUTABLE_OUTPUT_PATH /root/webpath/cmake_learning/output)
include_directories(${PROJECT_SOURCE_DIR}/include)
set(CMAKE_CXX_STANDARD 11)
# 可执行程序
add_executable(app ${SRC})
